<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" import="com.tz.hospital.entity.*, java.util.List,com.tz.hospital.mapper.* "%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<!-- 引入 layui.css -->
<link rel="stylesheet" href="/hospital_system/layui-v2.6.8/layui/css/layui.css"/>
<!-- 引入 layui.js -->
<script src="/hospital_system/layui-v2.6.8/layui/layui.js"></script>
</head>
<body>
 
 
 <table class="layui-table"  style="background-color:transparent; border:0px; " id="test2">
       
       <tr>
       <td>医生姓名</td>
       <td>科室</td>
       <td>排班</td>
       <td>职位</td>
       <td>操作</td>
       </tr>
       
       <tbody>
      <%presmapper pr=new presmapper();%> 
       <% List<doctor_class> l =(List) request.getAttribute("data"); %>
        <% if (l!=null){ %>
      <%  for(doctor_class e:l){ %>
        	  <tr>
        	  <td><%=e.getYsname() %></td>
        	  
        	  <td><%=e.getKsname() %></td>
        	  
        	  <td><%=pr.pbxs(e.getWork())%></td>
        	  <td><%=e.getYspost() %></td>
        	  <td><button onclick="location.href='/hospital_system/tjController?work=<%=e.getWork() %>&ysid=<%=e.getYsid() %>'">调整</button></td>
        	  </tr>
        	  
        	  
         <% } %>
         <% } %>
       </tbody>
       
       
     </table>

</body>
</html>